package com.sdsy.blockchaintrainingback.pojo.training;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sdsy.blockchaintrainingback.mapper.BaseMapperX;
import com.sdsy.blockchaintrainingback.pojo.common.BaseDO;
import lombok.*;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 用户实训的答题报告信息。
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("user_training_report_relation")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserTrainingReportRelation extends BaseDO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 用户实训ID */
    private Integer userTrainingId;

    /** 用户ID */
    private Long userId;

    /** 实训ID */
    private Integer trainingId;

    /** 答题报告，使用大文本类型存储 */
    private String answerReport;
}

